<?php
/**
 * Listorder
 * Created by Veyron
 * motto:现在的拼搏 为了更好的明天
 * day:  2020/2/7
 * Time: 21:30
 */

namespace app\admin\validate;


use think\Validate;

class Listorder extends Validate
{
    protected $rule = [
        'id'         => 'require|integer',
        'listorder'  => 'require|integer',
    ];
    protected $message = [
        'id.require'        => 'id不能为空',
        'id.integer'        => 'id必须未整数',
        'listorder.require' => '排序不能为空',
        'listorder.integer' => '排序必须未整数',
    ];
}
